package devstar_v1_0

import (
	"fmt"
)

// ErrMigrateDevstarDatabase  定义从 Gitea v300 迁移到 DevStar Studio 遇到的错误
type ErrMigrateDevstarDatabase struct {
	Step    string
	Message string
}

func (err ErrMigrateDevstarDatabase) Error() string {
	return fmt.Sprintf("Failed to migrate DevStar Studio DB at step #{%s}: %s", err.Step, err.Message)
}
